package com.orange.handler.impl;

import java.sql.SQLException;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.orange.handler.AuthCatalogService;
import com.orange.modules.dao.AuthCatalogRepository;
import com.orange.modules.entity.AuthCatalog;

@Service
public class AuthCatalogServiceImpl implements AuthCatalogService{
	
	@Autowired
	private AuthCatalogRepository authCatalogRepository;

	@Override
	public List<AuthCatalog> queryCatalog(String fid) throws SQLException {
		// TODO Auto-generated method stub
		List<AuthCatalog> list  = authCatalogRepository.queryCatalog(fid);
		return list;
	}
	
	

}
